package com.powernode.teatraceability.service.contract;

import com.powernode.teatraceability.vo.ProductCertificateVo;

import java.math.BigInteger;

/**
 * ClassName: ProductService
 * Description:
 *
 * @Author: jdz
 * @Create: 2023/5/3 - 11:49
 */
public interface ProductCertificateService {
    boolean applyProductCertificate(String _productAddress, String _name, String _certificateType, String _certificateMaterial, String _enterpriseName);
    String approveProductCertificate(String _address, BigInteger _index);
    boolean changeProductCertificate(String _address, BigInteger _index, String _name, String _certificateType, String _certificateMaterial, String _enterpriseName);
    ProductCertificateVo getProductCertificate(String _address, BigInteger _index);
}
